(function(window, document) {
    angular
        .module('app')
        .controller('accountPayokController', accountPayokController);

    accountPayokController.$inject = [
        '$stateParams',
        '$cookies',
        '$timeout'
    ];

    function accountPayokController ($stateParams, $cookies, $timeout) {
        var vm = this;
        var key = $stateParams.key;

        vm.account = $cookies.getObject(key);

        $timeout(function(){
            alert('此账号已出售三人，为让自己可以正常使用，请不要再去分享！');
        }, 1000);
    }
})(window, document);
